package com.me.dao.entity;

import java.math.BigDecimal;

import com.me.dao.base.PeopleModel;

/**
 * 功能：
 *
 * @author：dongshibo(F_baisi)
 * @create：2019/1/24/024 9:32
 * @version：2019 Version：1.0
 * @company：老屋新房 Created with IntelliJ IDEA
 */
public abstract class MyPeopleModel extends PeopleModel implements Cloneable{
	protected Integer sex;
	protected BigDecimal price;

	public MyPeopleModel() {
	}

	public MyPeopleModel(Integer sex, BigDecimal price) {
		this.sex = sex;
		this.price = price;
	}

	public MyPeopleModel(String name, Integer age, Integer sex, BigDecimal price) {
		super(name, age);
		this.sex = sex;
		this.price = price;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	@Override
	public Object clone() {
		Object clone = null;
		try {
			clone = super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return clone;
	}
}
